package grad.nxu.recruitsystem.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @Author: HAPPY
 * @Project_name: recruitSystem
 * @Package_name: grad.nxu.recruitsystem.domain
 * @Date: 2023/3/12 10:00
 * @Description:
 */
@Data
@ApiModel("用户信息传送")
@Accessors(chain = true)
public class User {
    @ApiModelProperty(name = "id", value = "1")
    private Integer id;
    @ApiModelProperty(name = "邮箱", value = "488127311@qq.com")
    private String email;
    @ApiModelProperty(name = "用户名", value = "张三")
    private String name;
    @ApiModelProperty(name = "密码", value = "sha256加密字符串")
    private String password;
    @ApiModelProperty(name = "角色id", value = "1|2|3")
    private Integer roleId;
    @ApiModelProperty(name = "角色名称", value = "管理员|求职者|招聘者")
    private String roleName;
    @ApiModelProperty(name = "验证码", value = "456371")
    private String captcha;
    @ApiModelProperty(name = "令牌", value = "jwt生成token")
    private String token;
    @ApiModelProperty(name = "账号状态", value = "true|false")
    private Boolean status;
}
